package com.dxysun.design.template;

public abstract class AbstractClass
{
    public void templateMethod()
    {
        step1();
        step2();
    }

    protected void step1()
    {
        System.out.println("AbstractClass step1");
    }

    protected void step2()
    {
        System.out.println("AbstractClass step2");
    }

}
